package org.teremail.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface MailServiceAsync {

    // String[] getFolders();
    void getFolders(String mailbox, AsyncCallback<String[]> callback);

    void getMessageSummaries(String mailbox, String folder, AsyncCallback<MessageSummary[]> asyncCallback);

    void getMessage(String mailbox, String folder, int uid, AsyncCallback<String> asyncCallback);
}
